package com.ruoyi.insurance.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 保前安全评测对象 evaluate_before_insurance
 * 
 * @author ruoyi
 * @date 2024-09-09
 */
public class EvaluateBeforeInsurance extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 保前评测ID */
    private Long evaluateBeforeId;

    /** 评测机构 */
    @Excel(name = "评测机构")
    private String evaluateInstitution;

    /** 评测人员 */
    @Excel(name = "评测人员")
    private String evaluatePerson;

    /** 保单号 */
    @Excel(name = "保单号")
    private String contractNumber;

    /** 被评测机构 */
    @Excel(name = "被评测机构")
    private String byEvaluateInstitution;

    /** 被评测机构三合一码 */
    @Excel(name = "被评测机构三合一码")
    private Long byEvaluateCode;

    /** 评测日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评测日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date evaluateDate;

    /** 评测报告 */
    @Excel(name = "评测报告")
    private String evaluateContract;

    /** 漏洞个数 */
    @Excel(name = "漏洞个数")
    private Long bugNumber;

    /** 整改期限 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "整改期限", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rectifyDate;

    /** 整改完成度 */
    @Excel(name = "整改完成度")
    private Long rectifyCompleteness;

    /** 评测分数 */
    @Excel(name = "评测分数")
    private Long evaluateGoal;

    /** 详细漏洞信息 */
    private List<ConcreteBug> concreteBugList;

    public void setEvaluateBeforeId(Long evaluateBeforeId) 
    {
        this.evaluateBeforeId = evaluateBeforeId;
    }

    public Long getEvaluateBeforeId() 
    {
        return evaluateBeforeId;
    }
    public void setEvaluateInstitution(String evaluateInstitution) 
    {
        this.evaluateInstitution = evaluateInstitution;
    }

    public String getEvaluateInstitution() 
    {
        return evaluateInstitution;
    }
    public void setEvaluatePerson(String evaluatePerson) 
    {
        this.evaluatePerson = evaluatePerson;
    }

    public String getEvaluatePerson() 
    {
        return evaluatePerson;
    }
    public void setContractNumber(String contractNumber) 
    {
        this.contractNumber = contractNumber;
    }

    public String getContractNumber() 
    {
        return contractNumber;
    }
    public void setByEvaluateInstitution(String byEvaluateInstitution) 
    {
        this.byEvaluateInstitution = byEvaluateInstitution;
    }

    public String getByEvaluateInstitution() 
    {
        return byEvaluateInstitution;
    }
    public void setByEvaluateCode(Long byEvaluateCode) 
    {
        this.byEvaluateCode = byEvaluateCode;
    }

    public Long getByEvaluateCode() 
    {
        return byEvaluateCode;
    }
    public void setEvaluateDate(Date evaluateDate) 
    {
        this.evaluateDate = evaluateDate;
    }

    public Date getEvaluateDate() 
    {
        return evaluateDate;
    }
    public void setEvaluateContract(String evaluateContract) 
    {
        this.evaluateContract = evaluateContract;
    }

    public String getEvaluateContract() 
    {
        return evaluateContract;
    }
    public void setBugNumber(Long bugNumber) 
    {
        this.bugNumber = bugNumber;
    }

    public Long getBugNumber() 
    {
        return bugNumber;
    }
    public void setRectifyDate(Date rectifyDate) 
    {
        this.rectifyDate = rectifyDate;
    }

    public Date getRectifyDate() 
    {
        return rectifyDate;
    }
    public void setRectifyCompleteness(Long rectifyCompleteness) 
    {
        this.rectifyCompleteness = rectifyCompleteness;
    }

    public Long getRectifyCompleteness() 
    {
        return rectifyCompleteness;
    }
    public void setEvaluateGoal(Long evaluateGoal) 
    {
        this.evaluateGoal = evaluateGoal;
    }

    public Long getEvaluateGoal() 
    {
        return evaluateGoal;
    }

    public List<ConcreteBug> getConcreteBugList()
    {
        return concreteBugList;
    }

    public void setConcreteBugList(List<ConcreteBug> concreteBugList)
    {
        this.concreteBugList = concreteBugList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("evaluateBeforeId", getEvaluateBeforeId())
            .append("evaluateInstitution", getEvaluateInstitution())
            .append("evaluatePerson", getEvaluatePerson())
            .append("contractNumber", getContractNumber())
            .append("byEvaluateInstitution", getByEvaluateInstitution())
            .append("byEvaluateCode", getByEvaluateCode())
            .append("evaluateDate", getEvaluateDate())
            .append("evaluateContract", getEvaluateContract())
            .append("bugNumber", getBugNumber())
            .append("rectifyDate", getRectifyDate())
            .append("rectifyCompleteness", getRectifyCompleteness())
            .append("evaluateGoal", getEvaluateGoal())
            .append("concreteBugList", getConcreteBugList())
            .toString();
    }
}
